import service from '@/core/net/request'
export function getSysconfig() {
  return service.get(`/api/admin/sysconfig`)
}

export function setSysconfig(data) {
  return service.post(`/api/admin/sysconfig`, data)
}

export const uploadAction =
  import.meta.env.VITE_APP_BASE_API + '/api/admin/sysconfig/upload'
